const Router = require('koa-router')
const contentController = require('../api/contentController')
const router = new Router()
router.prefix('/public')
// 获取文章列表
router.get('/list', contentController.getPostList)
// 友情链接
router.get('/links', contentController.getLinks)
// 温馨提醒
router.get('/tips', contentController.getTips)
// 回复周榜
router.get('/topWeek', contentController.getTopWeek)
module.exports = router
